/*
 * @Author: zi.yang
 * @Date: 2022-02-05 22:58:16
 * @LastEditors: zi.yang
 * @LastEditTime: 2022-02-08 20:08:54
 * @Description: In User Settings Edit
 * @FilePath: \api-generator\app\controller\user.js
 */
'use strict';

const Controller = require('egg').Controller;

class UserController extends Controller {
  async PostAdd() {
    const { ctx } = this;
    this.ctx.body = await this.service.user.add(ctx.request.query);
  }
}

module.exports = UserController;
